@charset "utf-8";
/* CSS Document */

    /* 轮播/滚动新闻 */
    .banner {
        background-color: #e9f1f9;
        padding: 20px 0;
        border-bottom: 1px solid #ddd;
        position: relative;
        overflow: hidden;
    }
    /* 增大容器高度50% */
    .news-carousel {
        position: relative;
        width: 1200px;
        height: 500px; /* 原高度150px * 1.5 */
        margin: 0 auto;
        overflow: hidden;
    }
    .news-track {
        display: flex;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease-in-out;
    }
    .news-slide {
        min-width: 100%;
        display: flex;
        height: 100%;
    }
    /* 图片与文字横向占比 5:3 */
    .news-image {
        width: 62.5%; /* 5/8 */
        height: 100%;
        overflow: hidden;
    }
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* 确保图片完全可见 */
    }
    .news-content {
        width: 37.5%; /* 3/8 */
        padding: 20px;
        background: #fff;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;

        justify-content: flex-start; 
    }
    .news-content h4 {
        margin: 0 0 10px 0;
        color: #0056b3;
        font-size: 18px;
    }
    .news-content p {
        font-size: 14px;
        color: #666;
        flex: 1;
    }
    .news-date {
        font-size: 12px;
        color: #999;
        margin-top: 10px;
    }

    /* 轮播控制按钮 */
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.3);
        color: #fff;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        font-size: 18px;
        z-index: 10;
    }
    .carousel-btn.prev {
        left: 10px;
    }
    .carousel-btn.next {
        right: 10px;
    }

    /* 主体内容 */
    main {
        padding: 20px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        min-height: 500px;
    }
    .content-left {
        flex: 1;
        min-width:300px;
    }
    .content-right {
        width: 300px; /* 固定宽度为 300px */
        flex-shrink: 0; /* 防止其在空间不足时收缩 */
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* 通用板块样式 */
    .section {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-bottom: 20px;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid #0056b3;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    .section-title {
        font-size: 20px;
        font-weight: bold;
        color: #003366;
        margin: 0;
    }
    .more-link {
        font-size: 14px;
        color: #0056b3;
    }
    .more-link:hover {
        text-decoration: underline;
    }

    /* 列表样式 */
    .list-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px dashed #eee;
        font-size: 14px;
    }
    .list-item:last-child {
        border-bottom: none;
    }
    .list-title {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .list-date {
        color: #666;
        margin-left: 10px;
        white-space: nowrap;
    }

    /* 链接列表样式 */
    .link-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .link-item {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        padding: 12px;
        border-radius: 4px;
        text-align: center;
        transition: all 0.3s;
        font-weight: 500;
    }
    .link-item:hover {
        background-color: #e9ecef;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .link-item a {
        color: #333;
    }
